package com.example.su_shi_tan_core.bean

import java.io.Serializable

data class AddDeliveryInfoHistoryBean(
    val id:Int,
    val real_name:String,
    val phone:String,
    val province:String,
    val city:String,
    val district:String,
    val detail:String,
    val is_default:Int

) : Serializable {
    fun recName(): String {
        return real_name
    }



    fun isDefault() = is_default==1

    fun recPhone(): String {
        return phone
    }

    fun recAddr():String{
        return "$province,$city,$district,$detail"
    }

    fun getAreaSub(): String {
        return ""
    }

    fun getAreaSuper(): String {
        return ""
    }
}